import React from 'react';
import { Col, Form, Row } from 'antd';
import FormContainer from './FormContainer';

/**
 * 员工档案 - 资产信息 - 其他资产
 */
const OtherAssetsSection = ({ formData }) => (
    // render
    <FormContainer title="其他资产" hasEditAuth={false}>
        {() => (
            <>
                <Row gutter={24}>
                    <Col span={12}>
                        <Form.Item label="办公地点">
                            <span>{formData?.officeLocationName}</span>
                        </Form.Item>
                    </Col>
                </Row>
                <Row gutter={24}>
                    <Col span={12}>
                        <Form.Item label="工位">
                            <span>{formData?.stationName}</span>
                        </Form.Item>
                    </Col>
                </Row>
            </>
        )}
    </FormContainer>
);

export default OtherAssetsSection;
